<?php

namespace App\Http\Controllers\Api\V1\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class GroupCardsResource extends JsonResource
{
	public function toArray($request)
	{
		$resource = $this->resource;
		
		return [
			'remark'                   => $resource->remark,
			'reason'                   => $resource->reason,
			'card_expired_at' 			=>(string)$resource->card_expired_at,
		];
	}
}
